//
//  ZPowerCell.h
//  WeClubs
//
//  Created by Zed Link on 4/5/2017.
//  Copyright © 2017 Zed. All rights reserved.
//

#import "ZTableViewCell.h"

typedef enum : NSUInteger {
    ZPowerChoseStateNormal = 0,
    ZPowerChoseStateSelected,
} ZPowerChoseState;

@class ZPowerCell;
@protocol ZPowerCellDelegate <NSObject>

- (void)powerCell:(ZPowerCell *)cell selectPower:(BOOL)selected withDescription:(NSString *)powerDesc;

@end

@interface ZPowerCell : ZTableViewCell

/** 选中状态 */
@property (assign, nonatomic) ZPowerChoseState state;

/** 代理 */
@property (weak, nonatomic) id<ZPowerCellDelegate> delegate;

- (void)setPowerName:(NSString *)name andDescription:(NSString *)desc;

@end
